package com.example.mall.dao;

import com.example.mall.entity.GoodCategory;
import com.example.mall.entity.UserAddress;

import java.util.List;

public interface GoodCategoryDAO {
    List<GoodCategory> selectAll();
    GoodCategory selectOneByName(String name);
    List<GoodCategory> query(Integer page, Integer pageSize, GoodCategory goodCategory);
    void save(GoodCategory goodCategory);
    void delete();
    void update(GoodCategory goodCategory);
}
